﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TCL.FUNC
{
    public class FormatEx
    {
        public class Date_Time
        {
            public static readonly string Format_Date_Temp = Convert.ToString(DateTime.Now.ToString("dd-MM-yyyy"));

            /// <summary>
            /// dd/MM/yyyy
            /// </summary>
            public static readonly string Format_Date = "dd/MM/yyyy";

            /// <summary>
            /// dd/MM/yyyy HH:mm:ss
            /// </summary>
            public static readonly string Format_DateTime = "dd/MM/yyyy HH:mm:ss";

            /// <summary>
            /// dd/MM/yyyy HH:mm:ss
            /// </summary>
            public static readonly string Format_DateTime_Ex = "yyyy-mm-dd-HH-MM-ss";

            /// <summary>
            /// dd/MM/yyyy HH:mm
            /// </summary>
            public static readonly string Format_DateTime_WebView = "dd/MM/yyyy HH:mm";

            public static readonly string Format_DateTimeMMDDYYYY = "MM/dd/yyyy";
            public static readonly string Format_DateTimeYYYYMMDD = "yyyy-MM-dd";
            public static readonly string Format_Date_Html5 = "yyyy-MM-dd";
            public static readonly string Format_DateTime_Html5 = "yyyy-mm-ddTHH:MMZ";
            public static readonly string Format_DateTime_Local_Html5 = "yyyy-MM-ddTHH:mm:ss"; // or yyyy-mm-ddTHH:MM:SS.S
            public static readonly string Format_Month_Html5 = "yyyy-mm";
            public static readonly string Format_Week_Html5 = "yyyy-Www";
            public static readonly string Format_Time_Html5 = "HH:MM";
        }

        public class Numberic
        {
            public static readonly string Format_Number = "###,##0.#0";
            public static readonly string Format_NumberEx = "###,##0.######";
        }

        public class Other
        {
        public static readonly string Viet_Nam_Dong = " VNĐ";
        }

    }
}
